//**********************************************************************************
//GMCProj21.java
//
//Name: Gabriel Martins	de	Castro
//Class:	COMSC	110L.51
//Date: 09/10/2014
//Instructor: Dr.	Chunyan Bai
//
//Purpose: Second project, first program, shows volume and surface area with the given radius
//***********************************************************************************

import java.util.Scanner;
//Class
public class GMCProj21
{
	public static void main(String[]	args)//main	method
	{
      System.out.print("Enter an integer for radius of the sphere: ");
      Scanner input = new Scanner(System.in);
      int radius = input.nextInt();
      double volume;
      volume = (4.0/3)*Math.PI*radius*radius*radius;
      double surface;
      surface = 4*Math.PI*radius*radius;
      
      System.out.print("Volume = " + volume + "\nSurface Area = " + surface);
   }
}